# -*- coding: utf-8 -*-
#yuexia人脸识别
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtGui import QBrush, QPixmap, QIcon, QImage,QFont


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        palette = QtGui.QPalette()  # 设置背景
        MainWindow.setStyleSheet('''
                    background:rgb(176,224,230);
                ''')
        MainWindow.resize(600, 470)
        qss2 = """
                    QPushButton{
                /*background:transparent;*/
                border:none;
                background-color:rgba(0,150,136,0.4);
                border-radius:5px;
            }
            QPushButton:hover{
                /*border-bottom:4px solid rgba(0,150,136,0.4);*/
                background-color:rgba(0,150,136);
                border-bottom:4px solid rgba(0,150,136);
            }

                        """
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(170, 200, 93, 28))
        self.pushButton.setStyleSheet(qss2)
        self.pushButton.setObjectName("pushButton")
        self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_2.setGeometry(QtCore.QRect(340, 200, 93, 28))
        self.pushButton_2.setStyleSheet(qss2)
        self.pushButton_2.setObjectName("pushButton_2")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 435, 26))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "校园人脸系统"))
        self.pushButton.setText(_translate("MainWindow", "人脸采集"))
        self.pushButton_2.setText(_translate("MainWindow", "人脸识别"))
